package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicWhCheckTaskDO;
import com.cssy.xxkj.logic.entity.vo.LogicWarehouseEndMonthSumVO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;

/**
 * ��ݷ��ʶ���ӿ�
 * @since 2014-09-30
 */
public interface LogicWhCheckTaskDAO extends LogicBizDAO<LogicWhCheckTaskDO>{

    /**
     * �������
     * @param logicWhCheckTaskDO
     * @return ������ݵ�����
     */
    public String insertLogicWhCheckTaskDO(LogicWhCheckTaskDO logicWhCheckTaskDO) throws DataAccessException;

    /**
     * ͳ�Ƽ�¼��
     * @param logicWhCheckTaskDO
     * @return ����ļ�¼��
     */
    public Integer countLogicWhCheckTaskDOByExample(LogicWhCheckTaskDO logicWhCheckTaskDO) throws DataAccessException;

    /**
     * ���¼�¼
     * @param logicWhCheckTaskDO
     * @return ��Ӱ�������
     */
    public Integer updateLogicWhCheckTaskDO(LogicWhCheckTaskDO logicWhCheckTaskDO) throws DataAccessException;

    /**
     * ��ȡ�����б�
     * @param logicWhCheckTaskDO
     * @return �����б�
     */
    public List<LogicWhCheckTaskDO> findListByExample(LogicWhCheckTaskDO logicWhCheckTaskDO) throws DataAccessException;

    /**
     * ��������ȡlogicWhCheckTaskDO
     * @param id
     * @return logicWhCheckTaskDO
     */
    public LogicWhCheckTaskDO findLogicWhCheckTaskDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * ɾ���¼
     * @param id
     * @return ��Ӱ�������
     */
    public Integer deleteLogicWhCheckTaskDOByPrimaryKey(String id) throws DataAccessException;
    /**
     * 查询盘点单
     * @param paramMap
     * @return
     * @throws SyBaseException
     */
    public LogicWhCheckTaskDO findLogicWhCheckTaskDOByMap(Map<String, Object> paramMap) throws SyBaseException;
    
    /**
     * 查询所有符合条件的list
     * @param paramMap
     * @return
     * @throws SyBaseException
     */
    public List<LogicWhCheckTaskDO> findLogicWhCheckTaskDOListByMap(Map<String, Object> paramMap) throws SyBaseException;
    
    public List<LogicWarehouseEndMonthSumVO> findExcelQueryEndMonthToSummary(SearchConditions scs)throws SyBaseException;
    
    public List<LogicWarehouseEndMonthSumVO> findQueryEndMonthToSummary(SearchConditions scs)throws SyBaseException;

}